namespace LightBox.Design
{
    using System;
    using System.ComponentModel.Design;
    using System.Web.UI;
    using System.Web.UI.Design;
    
    /// <summary>
    /// 
    /// </summary>
    public class ScriptManagerDesigner : ControlDesigner
    {
        /// <summary>
        /// 
        /// </summary>
        public ScriptManagerDesigner() : base() { }

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public override string GetDesignTimeHtml()
        {
            return base.CreatePlaceHolderDesignTimeHtml();
        }

        /// <summary>
        /// 
        /// </summary>
        public override DesignerActionListCollection ActionLists
        {
            get
            {
                DesignerActionListCollection actionList = new DesignerActionListCollection();
                actionList.AddRange(base.ActionLists);

                ScriptManagerActionList managerList = new ScriptManagerActionList(this);
                actionList.Add(managerList);

                return actionList;
            }
        }
    }
}
